import * as Constant from '../constants/Constant'

const initialState={
	tweets:[]
}

export default function tweets(state=initialState,action){
	switch(action.type){
		case Constant.TWEET_SHOW_ALL:
			return Object.assign({}, state, {
		        tweets: action.tweets
		    })
		default:
			return state

	}
}
